<template>
    <div id="app">
        <router-view></router-view>
    </div>
</template>

<script>
    export default {
        data() {
            return {
                user: '',
            }
        },
        beforeCreate() {
            console.warn('进入路由');
        },
        created() {
            this.user = this.$store.state.role;
            console.warn(this.user);
        },
        method: {
            func() {
                console.warn('触发了事件');
            }
        },
        watch: {

        }
    }
</script>

<style>
    @import "../static/css/main.css";
    @import "../static/css/theme-green/color-green.css";
    /* @import '../static/css/theme-green/index.css'; */

    body .el-table th.gutter {
        display: table-cell!important;
    }

  /*   ::-webkit-scrollbar {
        width: 0;
    } */
</style>
